InScript is the scripting language used by iCab to generate HTML documents dynamically. The core language is compatible with ECMAScript.
At present InScript features only parts of Netscape's JavaScript 1.1 or Microsoft's JScript.
A demo of the possibilities you'll find here.
Warning: At the moment no security policy is implemented in InScript, i.e. every frame in one window can access all other frames in that window without any restrictions. Who considers this too dangerous has to switch off InScript in "Preferences - InScript".
The Document Object Model (DOM) is still missing many parts. Especially many W3C-DOM standard objects are still missing, and the changing of images will not work yet.
Some scripts might cause problems because they require JavaScript 1.2 (or later), but fail to declare this in the SCRIPT tag.
If iCab crashes on certain web pages, but it does not crash on these pages if InScript is turned off in the "Preferences", please report the URL to the iCab support.
InScript implements the 2nd edition of the ECMA-262 standard ("ECMAScript"). Therefore it has roughly all the features of JavaScript 1.1.
Compared to newer versions of JavaScript the following parts of the language are missing:
switch
/ case
/ default
try
.. catch
export
/ import
break label
and continue label
As soon as DOM level 0 has been implemented sufficiently, InScript will be extended to the upcoming ECMAScript standard (3rd edition), which corresponds to JavaScript 1.5. After that, DOM level 1 (and later on level 2) can be realized.
At the moment InScript implements properties defined by the DOM and some Navigator/Explorer extensions as follows:
Object | Properties |
---|---|
HTMLAnchorElement |
(inherits from Link) charset, hreflang, rel, rev, text, type, x,y |
HTMLAreaElement |
(inherits from Link) alt, noHref |
HTMLCollection | item, length |
HTMLDocument |
(inherits from HTMLElement) anchors, applets, close, cookie, domain, embeds, getSelection, images, lastModified, links, location, open, plugins, referrer, title, URL, write, writeln |
HTMLElement | all, document, getAttribute, id, innerHTML, innerText, insertAdjacentHTML, insertAdjacentText, lang, length, name, outerHTML, outerText, parentElement, removeAttribute, setAttribute, sourceIndex, tagName, title |
HTMLFormElement |
(inherits from HTMLElement) action, elements, encoding, method, reset, submit, target |
HTMLInputElement |
(inherits from HTMLElement) blur, focus, form, type, value (Checkbox and Radio elements: checked, defaultChecked) |
HTMLOptionElement |
(inherits from HTMLInputElement) defaultSelected, index, selected, text |
HTMLSelectElement |
(inherits from HTMLInputElement) options, selectedIndex, options.selectedIndex |
Link (internal) |
(inherits from HTMLElement) coords, hash, host, hostname, href, pathname, port, protocol, search, shape, target |
Window | alert, blur, clearInterval, clearTimeout, clientInformation, close, closed, confirm, defaultStatus, focus, frames, history, length, location, moveBy, moveTo, name, navigate, navigator, open, opener, parent, prompt, resizeBy, resizeTo, screen, ScriptEngine, ScriptEngineBuildVersion, ScriptEngineMajorVersion, ScriptEngineMinorVersion, scroll, scrollBy, scrollTo, self, setInterval, setTimeout, status, top |
A list of known and fixed bugs you'll find here.
More links on JavaScript you'll find here.
do
.. while
InScript - Copyright ©2000 by Thomas Much.
≤≤Z œ 6 á`˘ œ 6 á`˜ œ 6 ¨`˙ œ 8ë`˝ œ¨`ˇ œ"6áa œ"7ëa œ"8ëa œ(¶ï UVUUUU` a UVUUUUm n UVUUUUu "aØ/Q} UVUUUUÖ Ü UVUUUUç é UVUUUU¶ ® UVUUUU¨¥ UVUUUUπ ’ Ÿ € UVUUUUfl UVUUUUı ˜ UVUUUU˙ w 33ôôç ››ó 33ôôõ û UVUUUU° ˇ UVUUUU * 33ôôI ››M 33ôôQ T UVUUUUW _ UVUUUUcÉ UVUUUUà ä UVUUUUë î UVUUUUô õ UVUUUUû F UVUUUUI » UVUUUUÀ ” UVUUUU◊€ UVUUUU‡ ‚ UVUUUU } 33ôô≥ ››ø 33ôô√ Δ UVUUUU… — UVUUUU’Á UVUUUUÏ Ó UVUUUUÒ 33ôô ôôôô 33ôô 5 33ôôR ››V 33ôôZ j 33ôôö ››§ 33ôô® Í UVUUUUÌ H ™´L N ˇ˛R e ˇ˛i è ˇ˛ì î UVUUUUö † UVUUUUß ™ UVUUUU∞ ¥ UVUUUUª æ UVUUUUƒ À UVUUUU“ ‘ ˇ˛ÿ Ÿ UVUUUUfl ‚ UVUUUUÈ Ì UVUUUUÛ ¯ UVUUUUˇ ˇ˛ UVUUUU UVUUUU UVUUUU" ( UVUUUU/ 1 ˇ˛5 A UVUUUUG M UVUUUUP U UVUUUU` e UVUUUUk t UVUUUUw | UVUUUUá â ˇ˛ç £ ™´® ™ UVUUUU≠ ö UVUUUU ù ffffôô ! 34ffôô ) / 34ffôô 8 B 34ffôô L O 34ffôô S U ffffôô Y j ffffôô o q ffffôô u ã UVUUUU è ø ffffôô ƒ Δ 34ffôô À Œ 34ffôô “ ‘ ffffôô ÿ Á ffffôô Ï Ó ffffôô Ú UVUUUU ffffôô " 34ffôô' * 34ffôô. 0 ffffôô4 B ffffôôG I ffffôôM ] ffffôôb d 34ffôôi l 34ffôôp r ffffôôv Ç ffffôôá â ffffôôç ™ UVUUUUÆ K ffffôôP R 34ffôôW Z 34ffôô^ ` ffffôôd o ffffôôt v ffffôôz P ffffôô U W 34ffôô \ _ 34ffôô c e ffffôô i x ffffôô } ffffôô É † UVUUUU § · ffffôô Ê Ë 34ffôô Ì 34ffôô Ù ˆ ffffôô ˙ ffffôô ffffôô 2 UVUUUU6 V UVUUUU\ î ffffôôô õ 34ffôô† £ 34ffôôß © ffffôô≠ æ ffffôô√ ≈ ffffôô… Î UVUUUUÔ ffffôô 34ffôô% ( 34ffôô, . ffffôô2 C ffffôôH J ffffôôN p UVUUUUt • ffffôô™ ¨ 34ffôô± ¥ 34ffôô∏ ∫ ffffôôæ Õ ffffôô“ ‘ ffffôôÿ ı UVUUUU˘ P ffffôôU W 34ffôô\ _ 34ffôôc e ffffôôi o ffffôôt v ffffôôz ffffôô 34ffôô ! ffffôô) + UVUUUU. Y 33ôôÜ ››ä 33ôôé ë UVUUUUî π 33ôô ››Ù 33ôô¯ ˚ UVUUUU˛ UVUUUU UVUUUU UVUUUU# $ ôöffÃÃ( ) ôöôô- ; ôöôô? A ™´E G ˇ˛K } ˇ˛Å fl ˇ˛„ ˇ˛ “ ˇ˛÷ ˇ˛ ' ˇ˛+ U ˇ˛Y ß ˇ˛´ Ï ˇ˛ Y ˇ˛] w ˇ˛{ ƒ ™´… À ôöôôœ fi ôöôô‚ ‰ ™´Ë Í ˇ˛Ó p ˇ˛t æ ˇ˛¬ 7 ˇ˛; l ˇ˛p ƒ ˇ˛» ˆ ˇ˛˙ ˚ UVUUUU UVUUUU UVUUUU UVUUUU " ™´' ) ôöôô- ; ôöôô? d ôöffÃÃi k o q UVUUUUâ ∏ UVUUUUƒ Δ UVUUUUÕ Œ UVUUUU’ ≤≤Z Fxÿ$\Zstylsoup&88592ġˇ ]Üúġˇ ]ܨġˇ